﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>xKillProcessID（结束进程根据PID）</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<P>函数原型：<br>Function xKillProcessID(pid As Integer) As Integer<br>int xKillProcessID(int pid);</P>
<P>VB、VBS、按键精灵声明：<br>Declare Function Lib "xTask.dll" xKillProcessID(ByVal pid As Long) As Long</P>
<P>参数：<br>pid：进程PID</P>
<P>返回值参考系统API：WaitForSingleObject</P>
<P>说明：<br>结束进程。</P>
</body>
</html>